package com.yanqu.road.entity.activity.unionwar.cross;

import java.math.BigInteger;

public class UnionWarPatronsData {
    private long serverId;                 //区服id
    private long userId;                   //玩家编号
    private int patronsId;                 //门客编号
    private int patronsLv;                 //门客等级
    private int patronsStageLv;            //门客精进等级
    private int skinId;                    //门客皮肤编号
    private BigInteger ability;            //能力值
    private int ambush;                    //是否伏兵,0：不是；1：是
    private int skillAddition;             //技能加成
    private int lianShengAddition;         //技能连胜次数加成
    private int unionPosition;             //商会职位
    private long modifyTime;               //变更时间
    private int winTimes;                  //获胜次数
    private int promotionId;               //晋升id
    private BigInteger damage = BigInteger.ZERO;      //伤害值
    private BigInteger ability2;            //加成后的能力值
    //临时变量
    private int useItemId;                          //使用锦囊道具
    private int maxWinTimes;                        //最大可获胜次数
    private BigInteger blood = BigInteger.ZERO;     //血量

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        this.serverId = serverId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getPatronsId() {
        return patronsId;
    }

    public void setPatronsId(int patronsId) {
        this.patronsId = patronsId;
    }

    public int getPatronsLv() {
        return patronsLv;
    }

    public void setPatronsLv(int patronsLv) {
        this.patronsLv = patronsLv;
    }

    public int getPatronsStageLv() {
        return patronsStageLv;
    }

    public void setPatronsStageLv(int patronsStageLv) {
        this.patronsStageLv = patronsStageLv;
    }

    public BigInteger getAbility() {
        return ability;
    }

    public void setAbility(BigInteger ability) {
        this.ability = ability;
    }

    public BigInteger getAbility2() {
        return ability2;
    }

    public void setAbility2(BigInteger ability2) {
        this.ability2 = ability2;
    }

    public int getSkinId() {
        return skinId;
    }

    public void setSkinId(int skinId) {
        this.skinId = skinId;
    }

    public int getAmbush() {
        return ambush;
    }

    public void setAmbush(int ambush) {
        this.ambush = ambush;
    }

    public int getSkillAddition() {
        return skillAddition;
    }

    public void setSkillAddition(int skillAddition) {
        this.skillAddition = skillAddition;
    }

    public int getUnionPosition() {
        return unionPosition;
    }

    public void setUnionPosition(int unionPosition) {
        this.unionPosition = unionPosition;
    }

    public long getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(long modifyTime) {
        this.modifyTime = modifyTime;
    }

    public int getUseItemId() {
        return useItemId;
    }

    public void setUseItemId(int useItemId) {
        this.useItemId = useItemId;
    }

    public int getWinTimes() {
        return winTimes;
    }

    public void setWinTimes(int winTimes) {
        this.winTimes = winTimes;
    }

    public int getMaxWinTimes() {
        return maxWinTimes;
    }

    public void setMaxWinTimes(int maxWinTimes) {
        this.maxWinTimes = maxWinTimes;
    }

    public BigInteger getDamage() {
        return damage;
    }

    public void setDamage(BigInteger damage) {
        this.damage = damage;
    }

    public BigInteger getBlood() {
        return blood;
    }

    public void setBlood(BigInteger blood) {
        this.blood = blood;
    }

    public int getLianShengAddition() {
        return lianShengAddition;
    }

    public void setLianShengAddition(int lianShengAddition) {
        this.lianShengAddition = lianShengAddition;
    }

    public int getPromotionId() {
        return promotionId;
    }

    public void setPromotionId(int promotionId) {
        this.promotionId = promotionId;
    }

    public UnionWarPatronsData clone(){
        UnionWarPatronsData data = new UnionWarPatronsData();
        data.setUserId(userId);
        data.setPatronsId(patronsId);
        data.setPatronsLv(patronsLv);
        data.setPatronsStageLv(patronsStageLv);
        data.setAmbush(ambush);
        data.setSkinId(skinId);
        data.setSkillAddition(skillAddition);
        data.setUnionPosition(unionPosition);
        data.setAbility(ability);
        data.setModifyTime(modifyTime);
        data.setUseItemId(useItemId);
        data.setWinTimes(winTimes);
        data.setMaxWinTimes(maxWinTimes);
        data.setDamage(damage);
        data.setBlood(blood);
        data.setLianShengAddition(lianShengAddition);
        data.setPromotionId(promotionId);
        data.setServerId(serverId);
        data.setAbility2(ability2);
        return data;
    }
}
